package top.wardyan.wdev.dbassist.model;

import java.sql.Timestamp;

import top.wardyan.base.model.BaseDetailModel;

public abstract class DetailModel<T extends DetailModel<T>> extends BaseDetailModel<T> {

	public T setSCreateTime(Timestamp sCreateTime) {
		this.set("sCreateTime", sCreateTime);
		return (T) this;
	}
	
	public Timestamp getSCreateTime() {
		return this.getTimestamp("sCreateTime");
	}
	
	public T setSLastUpdate(Timestamp sLastUpdate) {
		this.set("sLastUpdate", sLastUpdate);
		return (T) this;
	}
	
	public Timestamp getSLastUpdate() {
		return this.getTimestamp("sLastUpdate");
	}
	
	public T setSVersion(Integer sVersion) {
		this.set("sVersion", sVersion);
		return (T) this;
	}
	
	public Integer getSVersion() {
		return this.getInt("sVersion");
	}
	
	public Integer getSStatus() {
		return this.getInt("sStatus");
	}
	
	public T setSStatus(Integer sStatus) {
		this.set("sStatus", sStatus);
		return (T)this;
	}
	
	// rAuthor_ID rDic_ID xMainName xField xName xType xTableName xDesc xHint xNote
	public Integer getRAuthorID() {
		return this.getInt("rAuthor_ID");
	}
	public T setRAuthorID(Integer rAuthor_ID) {
		this.set("rAuthor_ID", rAuthor_ID);
		return (T)this;
	}
	public Integer getRDicID() {
		return this.getInt("rDic_ID");
	}
	public T setRDicID(Integer rDic_ID) {
		this.set("rDic_ID", rDic_ID);
		return (T)this;
	}
	public String getXMainName() {
		return this.getStr("xMainName");
	}
	public T setXMainName(String xMainName) {
		this.set("xMainName", xMainName);
		return (T) this;
	}
	public String getXField() {
		return this.getStr("xField");
	}
	public T setXField(String xField) {
		this.set("xField", xField);
		return (T) this;
	}
	
	public String getXName() {
		return this.getStr("xName");
	}
	public T setXName(String xName) {
		this.set("xName", xName);
		return (T) this;
	}
	public Integer getXType() {
		return this.getInt("xType");
	}
	public T setXType(Integer xType) {
		this.set("xType", xType);
		return (T) this;
	}
	public String getXTableName() {
		return this.getStr("xTableName");
	}
	public T setXTableName(String xTableName) {
		this.set("xTableName", xTableName);
		return (T) this;
	}
	public String getXDesc() {
		return this.getStr("xDesc");
	}
	public T setXDesc(String xDesc) {
		this.set("xDesc", xDesc);
		return (T) this;
	}
	public String getXHint() {
		return this.getStr("xHint");
	}
	public T setXHint(String xHint) {
		this.set("xHint", xHint);
		return (T) this;
	}
	public String getXNote() {
		return this.getStr("xNote");
	}
	public T setXNote(String xNote) {
		this.set("xNote", xNote);
		return (T) this;
	}
}
